/*************************************************************************
> File Name: B.cpp
> Author: hzy
> Created Time: 2023-08-11 11:33:25
> Description:
************************************************************************/
#include "B.h"
#include "friend.h"

void B::setObjVal(Friend &obj, int myval)
{
    obj.setVal(myval);
}

int B::getObjVal(Friend obj)
{
    return obj.getVal();
}

void B::showObj(Friend obj)
{
    cout << "Friend::val = " << obj.getVal() << endl;
}